package org.tagging.service;

import org.tagging.model.Abbreviation;

import java.time.LocalDateTime;
import java.util.List;

public interface AbbreviationService<T> {
    List<T> queryByTagId(Integer id);

    void update(Abbreviation abbreviation);

    void add(Abbreviation abbreviation);

    Abbreviation queryById(Integer id);

    List<? extends Abbreviation> queryByTimePeriod(LocalDateTime startTime, LocalDateTime endTime, int mode);
}
